Cross Browser Testing
Methods
- Using Task Runners
- They are useful for running tests and cleaning up code during build.
- They perform tasks like linting and minifying code, adding in CSS prefixes or transpiling nascent JavaScript features for maximum cross-browser reach.
- e.g. Grunt, Gulp, NPM Scripts
- Using a Browser Automation System
- They allow running tests on specific versions of installed browsers, to get an on-infrastructure testing.
- e.g. Selenium
- Sauce Labs and BrowserStack are based on Selenium